package com.ychs.lawyer.mapper;

import com.ychs.lawyer.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/07/25/16:15
 * @Description:
 */
@Mapper
public interface UserMapper {
    public User loadUserByUsername(User user);


    List<User> getUsersByCondition(User user);

    int changeUserActive(User user);
    int addUser(User user);

    int editUser(User user);
    int deleteByIds(String[] delList);

    int reSetPassword(Integer userId);

    User getUserByName(String userName);

    int addUser2(User user);
}
